package com.hnucm.cooklife.bean.order;

import com.hnucm.cooklife.bean.db.Orderpic;

import java.util.List;

public class OrderDetailData {
    private int code;
    private String msg;
    private Object obj;
    private DataDTO data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO{
        private int oId;
        private String oname;
        private String ocap;
        private double oprice;
        private int osold;
        private String ocato;
        private int ogroupId;
        private String ofrom;
        private String oto;

        public int getoId() {
            return oId;
        }

        public void setoId(int oId) {
            this.oId = oId;
        }

        public String getOname() {
            return oname;
        }

        public void setOname(String oname) {
            this.oname = oname;
        }

        public String getOcap() {
            return ocap;
        }

        public void setOcap(String ocap) {
            this.ocap = ocap;
        }

        public double getOprice() {
            return oprice;
        }

        public void setOprice(double oprice) {
            this.oprice = oprice;
        }

        public int getOsold() {
            return osold;
        }

        public void setOsold(int osold) {
            this.osold = osold;
        }

        public String getOcato() {
            return ocato;
        }

        public void setOcato(String ocato) {
            this.ocato = ocato;
        }

        public int getOgroupId() {
            return ogroupId;
        }

        public void setOgroupId(int ogroupId) {
            this.ogroupId = ogroupId;
        }

        public String getOfrom() {
            return ofrom;
        }

        public void setOfrom(String ofrom) {
            this.ofrom = ofrom;
        }

        public String getOto() {
            return oto;
        }

        public void setOto(String oto) {
            this.oto = oto;
        }

        public List<Orderpic> getOrderpicList() {
            return orderpicList;
        }

        public void setOrderpicList(List<Orderpic> orderpicList) {
            this.orderpicList = orderpicList;
        }

        private List<Orderpic> orderpicList;
    }
}
